﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dynamic.Core.Utility
{
    /// <summary>
    /// 系统通用类
    /// </summary>
    public class SystemUtility
    {
        /// <summary>
        /// 当前运行程序路径
        /// </summary>
        public static string CurrentPath
        {
            get
            {
                return AppDomain.CurrentDomain.BaseDirectory;
            }
        }

        /// <summary>
        /// 资源路径
        /// </summary>
        public static string ResourcesURL
        {
            get
            {
                return ConfigUtility.GetConfigValue("ResourcesURL", "资源路径", false);
            }
        }
    }
}
